//   user.js
export default class QuestionRender {
  // 只要添加“default”即可
  constructor(el, data, fn) {
    this.el = el;
    this.data = data;
    this.fn = fn;
    // this.print();
  }
  print() {
    console.log("打印了", this.el);
    this.oneMethod(2222);
  }
  oneMethod(val) {
    console.log("参数传过来的值是：", val);
  }
  fn() {}
}
